import { defineStore } from 'pinia';

interface PageStyle {
  height: number;
  // 其他 PageStyle 相关的属性
}

export const pageStyleInfoStore = defineStore('pageStyle', {
  state: (): PageStyle => ({
    height: 0,
  }),
  actions: {
    setHeight(height: number) {
      this.height = height;
    },
   
  },
});
